<%@page session="false" %>

<%@page import="com.googlecode.afdbaccess.web.common.exception.GuiLayerException"%>

<%!
  private void generateException() {
    String nullString = null;

    // Generate a NullPointerException
    nullString.toString();    
  }
%>
<jsp:include page="/include/header.jspf" />

<%
  try {
    generateException();
  } catch (Exception exception) {
      GuiLayerException guiLayerException = new GuiLayerException("Testing exception", "Some explaining message.", true, exception);
      //guiLayerException.setSeverity(GuiLayerException.Severity.INFO);
      
      throw guiLayerException;
  }
%>

<jsp:include page="/include/footer.jspf" />
